-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It is working for .NET Core 3.1 ? #1
Comments
Nope, this uses Roslyn source generators, which is a feature included in .net5 SDK and VS 16.8 previews |
The next release will check this via targets so it's less surprising that it doesn't work |
Hm... this check should already be shipping in the latest 1.0.0-alpha release. Are you not seeing that build error automatically when using .NET Core 3.1? |
1>CSC : warning CS8032: An instance of analyzer ThisAssembly.AssemblyInfoGenerator cannot be created from C:\Users\aignat.nuget\packages\thisassembly.assemblyinfo\0.10.6\analyzers\netstandard2.0\ThisAssembly.AssemblyInfo.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=3.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.. I have added reference to But it gives the same error |
Old version. Use ThisAssembly.* Version 1.0.0-alpha plz. The one you're referencing isn't even listed anymore :) |
Now the error is more explicit 👍 ThisAssembly requires MSBuild 16.8+ or .NET SDK 5.0+. Waiting for .NET 5 in one month or so ;-) |
just asking if it is working for .NET Core 3.1
( I can reference the nuget ... - but it does not compile
Console.WriteLine(ThisAssembly.Info.Configuration);
The text was updated successfully, but these errors were encountered: