Comments (2)
To reproduce this, create a NuGet.Config
file with for example the following contents
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<config>
<add key="repositoryPath" value="$\..\packages" />
</config>
</configuration>
if such a file with $\..\packages
is placed in a parent/ancestor folder to the project folder, CNeptune won't work.
from cneptune.
A workaround is to replace
<Import Project="c:\foo\bar\packages\CNeptune.1.2.1\build\CNeptune.targets" Condition="Exists('c:\foo\bar\packages\CNeptune.1.2.1\build\CNeptune.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('c:\foo\bar\packages\CNeptune.1.2.1\build\CNeptune.targets')" Text="$([System.String]::Format('$(ErrorText)', 'c:\foo\bar\packages\CNeptune.1.2.1\build\CNeptune.targets'))" />
</Target>
in your .csproj
with
<PropertyGroup>
<BuildDependsOn>
$(BuildDependsOn);
CNeptune
</BuildDependsOn>
</PropertyGroup>
<Target Name="CNeptune">
<Exec Command=""$(SolutionDir)\..\packages\CNeptune.1.2.1\build\CNeptune.exe" "$(ProjectPath)" "$(Configuration)"" />
</Target>
(where you may need to modify the Command
to your needs.
from cneptune.
Related Issues (18)
- Parsing large delegates fails. HOT 5
- Problem with BadImageFormatException when instantiating generic class referencing ObservableCollection HOT 7
- Class members are not seen in debugger with CNeptune referenced HOT 1
- breaking System.Linq.Enumarable
- CNeptune silently breaks my application
- 3rd party assembly injection error HOT 3
- CNeptune masks exceptions
- .net standard support
- Analytical anomaly
- Roadmap
- Feedback
- Stub for generic method seems to do nothing
- Request: support for OutputType=WinExe HOT 2
- Feature request proper handling of abstract methods HOT 2
- bug: debuginfo not handled correctly HOT 6
- Exception after updating to CNeptune 1.1.0 HOT 5
- Error in first build. HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cneptune.