-
Notifications
You must be signed in to change notification settings - Fork 343
Broken project after Paradox Studio update #10
Comments
What version is running in Paradox Studio?
This file is automatically included by each Paradox projects and is updated by the Paradox Studio when performing a new install |
Paradox version is 1.0.0-alpha7.
|
Hm you really have reloaded your solution? I can't understand how you get a path error of 1.0.0-alpha05, as we are storing this information only in the above target file, and your project should automatically reference this file. There is something wrong somewhere... |
When you click on the property of a SiliconStudio referenced assemblies, what are there paths? |
Isn't dots looks strange? |
Hm, this should not happen, unless you have not close and open your solution, or the csproj has been modified. Can you post the content of your game .csproj? |
Where I've made something wrong? <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<MinimumVisualStudioVersion>10.0</MinimumVisualStudioVersion>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{1EFA1FEE-9BE5-4FF0-BDF3-AC93C930790A}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Test2</RootNamespace>
<AssemblyName>Test2.Game</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<TargetFrameworkProfile>Profile111</TargetFrameworkProfile>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<BaseIntermediateOutputPath>obj\</BaseIntermediateOutputPath>
</PropertyGroup>
<PropertyGroup>
<SiliconStudioCurrentPackagePath>$(MSBuildThisFileDirectory)..\Test2.pdxpkg</SiliconStudioCurrentPackagePath>
<SiliconStudioPackageProps>$([System.IO.Path]::ChangeExtension('$(SiliconStudioCurrentPackagePath)', '.props'))</SiliconStudioPackageProps>
<SiliconStudioProjectType>Library</SiliconStudioProjectType>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;SILICONSTUDIO_PLATFORM_WINDOWS;SILICONSTUDIO_PLATFORM_WINDOWS_DESKTOP</DefineConstants>
<SiliconStudioPlatform>Windows</SiliconStudioPlatform>
<SiliconStudioParadoxGraphicsApi>Direct3D11</SiliconStudioParadoxGraphicsApi>
<SiliconStudioBuildProfile>Windows</SiliconStudioBuildProfile>
<OutputPath>..\Bin\Windows-Direct3D11\Debug\</OutputPath>
<IntermediateOutputPath>obj\Windows\Debug\</IntermediateOutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<DefineConstants>TRACE;SILICONSTUDIO_PLATFORM_WINDOWS;SILICONSTUDIO_PLATFORM_WINDOWS_DESKTOP</DefineConstants>
<SiliconStudioPlatform>Windows</SiliconStudioPlatform>
<SiliconStudioParadoxGraphicsApi>Direct3D11</SiliconStudioParadoxGraphicsApi>
<SiliconStudioBuildProfile>Windows</SiliconStudioBuildProfile>
<OutputPath>..\Bin\Windows-Direct3D11\Release\</OutputPath>
<IntermediateOutputPath>obj\Windows\Release\</IntermediateOutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<!-- A reference to the entire .NET Framework is automatically included -->
</ItemGroup>
<ItemGroup>
<Compile Include="Effects\Test2EffectMain.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
<DependentUpon>Test2EffectMain.pdxfx</DependentUpon>
</Compile>
<None Include="Effects\Permutations.pdxfxlib" />
<None Include="Effects\Test2EffectMain.pdxfx">
<Generator>ParadoxShaderKeyGenerator</Generator>
<LastGenOutput>Test2EffectMain.cs</LastGenOutput>
</None>
<Compile Include="Test2Game.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
<Import Project="$(SiliconStudioPackageProps)" Condition="Exists('$(SiliconStudioPackageProps)')" />
<Import Project="$(SiliconStudioParadoxDir)\Targets\SiliconStudio.Common.targets" Condition="Exists('$(SiliconStudioParadoxDir)\Targets\SiliconStudio.Common.targets')" />
<Target Name="EnsureSiliconStudioParadoxInstalled" BeforeTargets="PrepareForBuild">
<Error Condition="'$(SiliconStudioParadoxDir)' == ''" Text="Paradox SDK was not found. Check Paradox is installed and the global env variable [SiliconStudioParadoxDir] is setup correctly" />
<Error Condition="!Exists('$(SiliconStudioParadoxDir)\Targets\SiliconStudio.Common.targets')" Text="Invalid Paradox SDK installation. Target file [$(SiliconStudioParadoxDir)\Targets\SiliconStudio.Common.targets] was not found." />
</Target>
<!-- 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>
-->
</Project> |
Unless the solution was not closed and reopened in Visual Studio, I can't see why you get this behavior... |
But it was. So many times. |
Could you turn on "diagnostic" on build (in Visual Studio (Menu Tools/Options/Projects And Solutions/Build And Run/MS project build output verbosity), and build the Game.csproj project and post the full Visual Output log? |
That's strange. Project builds and runs correctly. But Intellisense keep telling me about missing references. |
Ah, ok, close your Visual Studio and remove a suo files that is stored along your sln. |
Perfect. What I should not do in the future to avoid this? |
Do the same, remove the suo :) I'm not sure we can do something about this. This is the default behavior of VS. I suspect that if you have Resharper, you don't need to do this. |
I confirm that removing *.suo files helps to resolve this issue. I have VS 2013 with ReSharper and had exactly same problem - solution is building fine, but everything else - doesn't and IntelliSense goes crazy. |
Reopening because in new Visual Studio Package, after Paradox update, it will automatically "touch" those files by updating write time, so that VIsual Studio offers to reload them and discards IntelliSense cache (seems like a bug in Visual Studio, MSBuild inside VS evaluates fine, but not VS itself). This will be part of next release (alpha08). |
…benlitz/base_removal * commit '05f85eabf8aa2c002176f657d4e6f754989c2ea9': [Assets] Removed UnloadableAssetTracker and moved AssetTracker to Assets assembly for future use by AssetSourceTracker and AssetDependencyManager [Assets] Removed unecessary KeyValuePairSerializer [Core] Made ITypeDescriptor.this[] throw exception if no member found, and added a ITypeDescriptor.TryGetMember for the non-throwing case [Logging] Improved ToString() for log messages [Yaml] Error recovery: default to Unknown type so that error messages make sense [Reflection] ObjectDescriptor this[] operator was not consistent when an entry was not found (throwing if empty, not throwing if not) [Quantum] Rewrote GraphNodePath.From() to not include last target or index [Editor] Remove empty lines added by mistake at the end of DefaultPropertyTemplateProviders [Editor] Reworked thumbnail generation, logging & error reporting [Assets] CompilerApp: remove unloadable objects when loading packages [Assets] Tests: Added tests for IUnloadable [Assets] Properly remove IUnloadable objects from Assets before saving them to dependency manager and sending them to thumbnail and preview [Editor] Added IUnloadable to generalize previous UnloadableComponent [Editor] Rewrote assembly reloader to work on any object using Quantum. Still need to add a new mechanism equivalent to UnloadableComponent.
As I've said, after updating studio to fresh version, my project dependencies become unavailable.
I think the new path looks wrong.
The text was updated successfully, but these errors were encountered: