Skip to content
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

Unhandled Exception when using .nuspec #9

Open
tsvetelin-pavlov opened this issue Jun 14, 2018 · 2 comments
Open

Unhandled Exception when using .nuspec #9

tsvetelin-pavlov opened this issue Jun 14, 2018 · 2 comments

Comments

@tsvetelin-pavlov
Copy link

Whenever I try to build a project with .nuspec, I get this:

Unhandled Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Sources\TeamProjectDir\Sources\DEV\SolutionDir\ProjectDirProperties\TheNuspecFile.nuspec'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at NuCreate.Program.Open(String filename) at NuCreate.Program.Create(String solution, String project, String configuration, String plateform, String assembly) at NuCreate.Program.Main(String[] arguments)

The problem, as far as I can see it is that it doesn't put slash between Properties and the file (the correct path is 'D:\Sources\TeamProjectDir\Sources\DEV\SolutionDir\ProjectDir\Properties\TheNuspecFile.nuspec').

I usually put my .nuspec files in Properties folder in order to have nicely organized project, but I've checked - there is no difference if the .nuspec is in the project dir, and no difference if the .nuspec is named with more simpler name (i.e. Package.nuspec) - the issue remains.

@larrybud2004
Copy link

I have the same issue. Sounds like this project has been abandoned.

@jlchavez
Copy link

Have you tried to pull the code and compile it?

I had the same problem, there hasn't been any update to the nuget.org site, but I have changed a couple of things until today, to mix minor issues. In September 2017, it was merged to this repository that change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants