Remove calcmanager ref (#9)
Calculator (the main app project) depends on CalcManager, but only transitively: Calculator -> CalcViewModel -> CalcManager. However, Calculator's project file currently has a direct dependency on CalcManager. Let's remove this to make it harder to accidentally introduce new dependencies between the layers. Also cleaning up some commented-out directives in the CalcManager MSBuild file.
This commit is contained in:
		@@ -315,9 +315,6 @@
 | 
			
		||||
    <ClCompile Include="Ratpack\support.cpp" />
 | 
			
		||||
    <ClCompile Include="Ratpack\trans.cpp" />
 | 
			
		||||
    <ClCompile Include="Ratpack\transh.cpp" />
 | 
			
		||||
    <!--   <ClCompile Include="Source Files\CalculatorController.cpp" />
 | 
			
		||||
    <ClCompile Include="Source Files\CalculatorHistory.Cpp" />
 | 
			
		||||
    <ClCompile Include="Source Files\CalculatorManager.cpp" /> -->
 | 
			
		||||
    <ClCompile Include="pch.cpp">
 | 
			
		||||
      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
 | 
			
		||||
      <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
 | 
			
		||||
 
 | 
			
		||||
@@ -813,9 +813,6 @@
 | 
			
		||||
    </Font>
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <ProjectReference Include="..\CalcManager\CalcManager.vcxproj">
 | 
			
		||||
      <Project>{311e866d-8b93-4609-a691-265941fee101}</Project>
 | 
			
		||||
    </ProjectReference>
 | 
			
		||||
    <ProjectReference Include="..\CalcViewModel\CalcViewModel.vcxproj">
 | 
			
		||||
      <Project>{90e9761d-9262-4773-942d-caeae75d7140}</Project>
 | 
			
		||||
    </ProjectReference>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user