Reputation: 8271
I had a Visual Studio 2010 C# project called "FooTest" (OK, it wasn't really"Foo", it was something proprietary)
I decided to rename it "FooRegressionTest", so I renamed the directory it was in, and the solution file. In Solution Explorer I renamed the project to "FooRegressionTest" and I right-clicked on it and in Properties, in the Application tab I renamed the Assembly Name and the Default namespace all to "FooRegressionTest". In the code I changed the namespace references and everything else from "FooTest" to "FooRegressionTest".
If I do a "find and replace" for filetypes of "*.*
" searching for "FooTest". I get 0 hits. So I believe I've converted all references of "FooTest" to "FooRegressionTest".
My program builds and runs fine, BUT at build-time the binaries are all placed in a folder called "FooTest". Where is that folder-name specified?
BTW, in the project Properties, for Build, the Output Path says *bin\Debug*
Upvotes: 2
Views: 15145
Reputation: 10118
You typically set the build path like this:
The output path is configuratble for different configurations - i.e. you can have it build to one path when building x64, another when building x86 and so on.
In your case, you might have a screwed up csproj file... try unloading the project
have a look for the path in a section of the csproj xml that looks like this:
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\FooTest</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
And change the output path...
Upvotes: 4