Rank: Newbie
Groups: Registered
Joined: 12/2/2014(UTC) Posts: 4 Location: France
Thanks: 2 times
|
Hi, I 've one project not build by ncrunch because one of it's file is not copied to the workspace. I don't talk about of references but one file of the project itself. This is the only one in this case and i don't see any difference with other project in the solution. The fiole in question is the EDMX: Here is my csproj: Code:
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="(- BROKEN LINK -)">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProjectGuid>{BD1B2E48-78E7-4FA6-8F47-80A0E640FC21}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Itesoft.ProductionManager.KpiService.ObjectModel</RootNamespace>
<AssemblyName>Itesoft.ProductionManager.KpiService.ObjectModel</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
<SccProjectName>SAK</SccProjectName>
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
<RestorePackages>true</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<PlatformTarget>x86</PlatformTarget>
<OutputPath>bin\x86\Debug\</OutputPath>
<RunCodeAnalysis>true</RunCodeAnalysis>
<CodeAnalysisRuleSet>..\..\..\..\..\..\build\dotnet\codeAnalysis\ruleset\itesoft_allRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<PlatformTarget>x86</PlatformTarget>
<OutputPath>bin\x86\Release\</OutputPath>
</PropertyGroup>
<ItemGroup>
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\EntityFramework\lib\net45\EntityFramework.dll</HintPath>
</Reference>
<Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\EntityFramework\lib\net45\EntityFramework.SqlServer.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
</ItemGroup>
<ItemGroup>
<Compile Include="Kpi.cs">
<DependentUpon>KpiModel.tt</DependentUpon>
</Compile>
<Compile Include="KpiModel.Context.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>KpiModel.Context.tt</DependentUpon>
</Compile>
<Compile Include="KpiModel.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>KpiModel.tt</DependentUpon>
</Compile>
<Compile Include="KpiModel.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>KpiModel.edmx</DependentUpon>
</Compile>
<Compile Include="KpiValue.cs">
<DependentUpon>KpiModel.tt</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<CodeAnalysisDictionary Include="..\..\..\..\..\..\build\dotnet\codeAnalysis\dictionary\CustomDictionary.xml">
<Link>CustomDictionary.xml</Link>
</CodeAnalysisDictionary>
</ItemGroup>
<ItemGroup>
<MultiSGBDEntityDeploy Include="KpiModel.edmx">
<Generator>EntityModelCodeGenerator</Generator>
<LastGenOutput>KpiModel.Designer.cs</LastGenOutput>
</MultiSGBDEntityDeploy>
</ItemGroup>
<ItemGroup>
<None Include="App.config">
<SubType>Designer</SubType>
</None>
<None Include="KpiModel.Context.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>KpiModel.Context.cs</LastGenOutput>
</None>
<None Include="KpiModel.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>KpiModel.cs</LastGenOutput>
</None>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\..\..\..\..\..\build\dotnet\Itesoft.Root.targets" />
<Import Project="..\..\..\..\..\..\build\tools\.nuget\NuGet.targets" Condition="Exists('..\..\..\..\..\..\build\tools\.nuget\NuGet.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable 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('..\..\..\..\..\..\build\tools\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\..\..\build\tools\.nuget\NuGet.targets'))" />
</Target>
</Project>
Any ideas ? Thanks in advance. CConnes
|