-
Notifications
You must be signed in to change notification settings - Fork 46
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
Building a nuget package from the source code #259
Comments
I'm also running into the same issue and unable to get a working NuGet package output from the build. |
The solution I came up with that worked for me:
patchExtended2.diff.txt I hope this helps you |
@nuller1joe thanks for that, but I need to be able to run a build that produces working .nupkg files. As it is, I get an error about RuntimeContracts.dll missing when I run the analyzer in the .nupkg files that are currently generated. It looks like the very last commit (3aebd27) commented out the @SergeyTeplyakov can you provide any input here? |
@mkerkelpgr I'm not sure, but possibly your change in 3aebd27 resulted in the NuGet packages not being created. I don't understand the build infra for this project -- do you know what it was supposed to do and/or are you able to create working NuGet packages? |
@SergeyTeplyakov @munik I am awaiting to hear from Sergey on that issue as well. |
Hey
I'm having some trouble getting the nuget package working building it myself.
After building the latest source code with
msbuild /p:PublicRelease=true
I get a nuget package in
./ErrorProne.NET.StructAnalyzers.CodeFixes/bin/debug/ErrorProne.NET.Structs.0.5.0-beta6.nupkg
(likewise for Core Analyzers)
Adding the package to my local nuget repo:
nuget add './ErrorProne.NET.StructAnalyzers.CodeFixes/bin/debug/ErrorProne.NET.Structs.0.5.0-beta6.nupkg' -Source 'c:/store'
and adding the local store to my project NuGet.config allows me to see and install the package.After installing the locally created nuget package, no warnings or errors is appearing.
If I use the official nuget repo to install 0.4.0-beta.1 I get all the expected warnings. However, if I build the commit for the release of 0.4.0, it doesn't work either. Same with 0.3.0.
Do I need to set any flags to get the local built analyzer working?
The text was updated successfully, but these errors were encountered: