-
Notifications
You must be signed in to change notification settings - Fork 253
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
Create Web Site project, open NuGet UI, meet error. #2601
Comments
What version of VS & NuGet are you using? |
@rrelyea @yishaigalatzer @v-lawu |
@zhili1208 investigated. Seems like VS2015 Update 2 w/ NuGet 3.3 or NuGet 3.4.3 -- there are errors. They differ, but the problem is the same. As such, we'll move out of the 3.4.3 milestone and consider the scenario in triage. |
@rrelyea I just found 3.3 works for this scenario, the error of 3.3 is from my machine proxy setting, this is an regression, I fixed this and will send a pr soon |
Can you explain the exact scenario? The fix is about project.json so it's hard for me to tell how it is related to a web site project that typically used web.config Sent from Outlook Mobilehttps://aka.ms/xp9y6l On Wed, Apr 20, 2016 at 2:00 PM -0700, "Zhi Li" <notifications@github.commailto:notifications@github.com> wrote: @rrelyeahttps://github.com/rrelyea I just found 3.3 works for this scenario, the error of 3.3 is from my machine proxy setting, this is an regression, I fixed this and will send a pr soon You are receiving this because you were mentioned. |
@yishaigalatzer web site project don't use project.json, but nuget search project.ProjectName.json or project.json for every project, nuget try to get project name from msbuild file, but for web site, there is no such file, so the project name will be empty string, then when we search project.ProjectName.json, it will throw Exception from Project Name emptyOrNull check |
I followed the repro steps on 840/dev15preview and did not see the problem. To verify this fix I'd want to see the problem first. |
Thanks @rohit21agrawal -- I was doing the repro wrong! |
Installed. Fixed the main problem, but added a new one . Ttry to open NuGet Package manager - works, but not for one of my projects and VS crashed.
|
תודה על העדכון :) |
tried on my machine, looks like the path is good on my machine, the issue here is the website project root path is bad for nuget, not sure it's a path encoding issue or something else. so @MosheL what's your project path for the web project? and what's the nuget version? Does it work for any nuget version before? Not sure it's an regression or not. |
@MosheL which version of NuGet did this last work with? Are you able to repro this with 3.3.0? |
Tried to install 3.3, installation failed. |
Can you please go to tools and options -> extensions and updates and tell us what version of nuget is installed on your other machine? Also can you share the packags.config file? |
for working version I can check on morning. |
Thanks |
NuGet 840
Repro steps:
1.Create empty Web Site project.
2.Right click the project node and select Manager NuGet Packages...
Expected: Can open NuGet UI.
Actually: Meet error.
The text was updated successfully, but these errors were encountered: