Skip to content

Instantly share code, notes, and snippets.

@ribbanya
Last active November 28, 2019 18:37
Show Gist options
  • Save ribbanya/0c4526ef4e48513b0bc82fd0e3c7cff2 to your computer and use it in GitHub Desktop.
Save ribbanya/0c4526ef4e48513b0bc82fd0e3c7cff2 to your computer and use it in GitHub Desktop.
Resolving external types from Jenny (untested)
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration>Jenny</Configuration>
<Platform>Any CPU</Platform>
<OutputPath>.\bin\Jenny</OutputPath>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.Csharp.targets"/>
<ItemGroup>
<Reference Include="Entitas">
<HintPath>.\Jenny\Plugins\Entitas.Roslyn\Entitas.dll</HintPath>
</Reference>
<Reference Include="Entitas.CodeGeneration.Attributes">
<HintPath>.\Jenny\Plugins\Entitas.Roslyn\Entitas.CodeGeneration.Attributes.dll</HintPath>
</Reference>
<Reference Include="MyOtherProject">
<HintPath>.\bin\Debug\MyOtherProject.dll</HintPath>
</Reference>
<Compile Include=".\Source\MyProject\**\*.cs"/>
</ItemGroup>
</Project>
DesperateDevs.CodeGeneration.Plugins.ProjectPath = Jenny.csproj
DesperateDevs.CodeGeneration.Plugins.TargetDirectory = .\Source\MyProject
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment