optional ThisAssembly generation
See original GitHub issueIs it possible to (optionally) turn off the generation of the ThisAssembly class?
We had a situation where we hit an issue in combination with Fakes generation that took me a while to figure out. (this was eventually solved by adding <Remove TypeName="ThisAssembly"/>
in the fakes config).
However, I am not sure if anyone has experienced issues where another library actually generates ThisAssembly content that would conflict with this library. In that case they would also benefit from a ‘switch’ to turn it off.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
devlooped/ThisAssembly: Exposes project and assembly ...
Exposes project and assembly level information as constants in the ThisAssembly class using source generators powered by Roslyn.
Read more >How to generate code using Roslyn source ...
Generating ThisAssembly.Project. This generator results in a similar end-user experience: But the goal here is to allow arbitrary MSBuild ...
Read more >How to fix "Referenced assembly does not have a strong ...
If you don't find the .snk-file: Open the project properties (of the project using the project with the "strong name" error), tab Signing....
Read more >ASSEMBLYRESOURCE (Embed a managed resource)
The managed resource you want to embed in this assembly. ... Optional. The logical name for the resource; the name used to load...
Read more >GitInfo 3.3.1
Access commit information from MSBuild and C#/F#/VB code, and infer SemVer from branch, tag or version file in Git repository.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes
I would like to use this feature to suppress ThisAssembly class generation, how can I do? If I enter this:
<NBGV_EmitThisAssemblyClass>false</NBGV_EmitThisAssemblyClass>
in my project, is that enough?