I downloaded this model rail project
SharpMRC - its an ancient .NET effort.
I'm getting difficulties around Log4J (I think). I've done a package update and migrated everything to .NET 4.5 but with no luck7
This is what i am getting:
Warning 1 The file 'Log.Debug.config' could not be added to the project. Cannot add a link to the file C:\Rail\SharpMrc\src\Main\SharpMrcMain\Project\Log.Debug.config. This file is within the project directory tree. SharpMrc
Warning 2 The file 'Log.Release.config' could not be added to the project. Cannot add a link to the file C:\Rail\SharpMrc\src\Main\SharpMrcMain\Project\Log.Release.config. This file is within the project directory tree. SharpMrc
1>------ Rebuild All started: Project: SharpMrc.Base, Configuration: Debug Any CPU ------
2>------ Rebuild All started: Project: SharpMrc, Configuration: Debug Any CPU ------
3>------ Rebuild All started: Project: IntelliBox, Configuration: Debug Any CPU ------
4>------ Rebuild All started: Project: DataEditors, Configuration: Debug Any CPU ------
5>------ Rebuild All started: Project: SpeechSynthesis, Configuration: Debug Any CPU ------
6>------ Rebuild All started: Project: AvrSwitchboard, Configuration: Debug Any CPU ------
7>------ Rebuild All started: Project: GraphicalSwitchboard, Configuration: Debug Any CPU ------
8>------ Rebuild All started: Project: IpcAtChipDisplay, Configuration: Debug Any CPU ------
========== Rebuild All: 0 succeeded, 8 failed, 0 skipped ==========
[edit] .csproj content added from comment
="1.0"="utf-8"
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">
<PropertyGroup>
<ProjectGuid>{AE7247D6-6E76-4C64-8085-3FEE43AF1D97}</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<RootNamespace>SharpMrc</RootNamespace>
<AssemblyName>SharpMrc</AssemblyName>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\..\SharpMrc.snk</AssemblyOriginatorKeyFile>
<DelaySign>False</DelaySign>
<AssemblyOriginatorKeyMode>File</AssemblyOriginatorKeyMode>
<OutputPath>..\..\..\..\bin\</OutputPath>
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
<NoStdLib>False</NoStdLib>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<StartupObject>SharpMrc.SharpMrcMain</StartupObject>
<RunCodeAnalysis>False</RunCodeAnalysis>
<CodeAnalysisRules>-Microsoft.Globalization#CA1303</CodeAnalysisRules>
<ApplicationIcon>..\..\..\Images\Locomotive.ico</ApplicationIcon>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<FileUpgradeFlags></FileUpgradeFlags>
<UpgradeBackupLocation></UpgradeBackupLocation>
<OldToolsVersion>2.0</OldToolsVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>Full</DebugType>
<Optimize>False</Optimize>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<OutputType>Exe</OutputType>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugSymbols>false</DebugSymbols>
<DebugType>None</DebugType>
<Optimize>True</Optimize>
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
<OutputType>WinExe</OutputType>
</PropertyGroup>
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
<RegisterForComInterop>False</RegisterForComInterop>
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
<BaseAddress>4194304</BaseAddress>
<PlatformTarget>AnyCPU</PlatformTarget>
<FileAlignment>4096</FileAlignment>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
<ItemGroup>
<Reference Include="ICSharpCode.Core">
<HintPath>..\..\..\Libraries\ICSharpCode.Core\ICSharpCode.Core.dll</HintPath>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="log4net">
<HintPath>..\..\..\packages\log4net.2.0.3\lib\net20-full\log4net.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\GlobalAssemblyInfo.cs">
<Link>Configuration\GlobalAssemblyInfo.cs</Link>
</Compile>
<None Include="Configuration\AssemblyInfo.template.cs" />
<Compile Include="Src\SharpMrcMain.cs" />
<Compile Include="Src\SplashScreenForm.cs">
<SubType>
[/edit]