I'm trying to build a project in TeamCity which contains some DLLs that the .csproj file is using, but I keep getting an error (CS0246) because they can't access the folder that they are in.
I added the 2 SVN (Subversion - VisualSVN) folders in my VCS roots, but do I need to edit in the .csproj file to edit the directory.. It's saving it in the format of "..\assemblies\" on the TeamCity server, but locally (when degbugging etc.) it's "....\common\assemblies"
Our other projects are using the DLLs so that's why they're in a single folder and not IN the project we're working on.
This is kinda hard to explain. I'll try and elaborate some more if it wasn't clear enough from the above.
<Reference Include="OpenCvSharp.MachineLearning">
<HintPath>..\..\Common\assemblies\OpenCvSharp.MachineLearning.dll</HintPath>
</Reference>
Should be
<Reference Include="OpenCvSharp.MachineLearning">
<HintPath>..\assemblies\OpenCvSharp.MachineLearning.dll</HintPath>
</Reference>
To work properly on the teamcity server. However that is not an option because then we won't be able to debug locally etc. without having to change the path all the time.
"C:\TeamCity\buildAgent\work\fdbaf6ce1c990aa8\" then all the SVN folders are saved in there, which then leaves out the "main" folders of our projects and the folder that contains the DLLs
Anyone who knows how this can be solved?