Last active
June 15, 2024 00:56
-
-
Save rhughes42/185c01e47fc02745efa0ab2b541f9a7a to your computer and use it in GitHub Desktop.
Template C# Grasshopper plugin for JetBrains Rider.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<PropertyGroup> | |
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | |
<ProductVersion>8.5.24072.13001</ProductVersion> | |
<SchemaVersion>2.0</SchemaVersion> | |
<ProjectGuid>{073D9AA5-A4EE-4060-A478-9B076FC0B139}</ProjectGuid> | |
<OutputType>Library</OutputType> | |
<AppDesignerFolder>Properties</AppDesignerFolder> | |
<RootNamespace>GrasshopperPlugin</RootNamespace> | |
<AssemblyName>GrasshopperPlugin</AssemblyName> | |
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion> | |
<FileAlignment>512</FileAlignment> | |
<IsWebBootstrapper>false</IsWebBootstrapper> | |
<TargetFrameworkProfile/> | |
<LangVersion>default</LangVersion> | |
<Nullable>enable</Nullable> | |
</PropertyGroup> | |
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'"> | |
<DebugSymbols>true</DebugSymbols> | |
<DebugType>full</DebugType> | |
<Optimize>false</Optimize> | |
<OutputPath>..\bin\</OutputPath> | |
<DefineConstants>DEBUG;TRACE</DefineConstants> | |
<ErrorReport>prompt</ErrorReport> | |
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules> | |
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow> | |
<WarningLevel>2</WarningLevel> | |
</PropertyGroup> | |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | |
<DebugType>none</DebugType> | |
<Optimize>true</Optimize> | |
<OutputPath>..\bin\</OutputPath> | |
<DefineConstants>TRACE</DefineConstants> | |
<ErrorReport>prompt</ErrorReport> | |
<WarningLevel>4</WarningLevel> | |
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow> | |
</PropertyGroup> | |
<ItemGroup> | |
<Reference Include="System"/> | |
<Reference Include="System.Core"/> | |
<Reference Include="System.Data"/> | |
<Reference Include="System.Xml"/> | |
<Reference Include="System.Xml.Linq"/> | |
<Reference Include="System.Drawing"/> | |
<Reference Include="System.Windows.Forms"/> | |
</ItemGroup> | |
<ItemGroup> | |
<Compile Include="Properties\Resources.Designer.cs"> | |
<AutoGen>True</AutoGen> | |
<DesignTime>True</DesignTime> | |
<DependentUpon>Resources.resx</DependentUpon> | |
</Compile> | |
<Compile Include="Components\TaskCapableComponent.cs"/> | |
<Compile Include="PluginInfo.cs"/> | |
<Compile Include="Properties\AssemblyInfo.cs"/> | |
</ItemGroup> | |
<ItemGroup> | |
<EmbeddedResource Include="Properties\Resources.resx"> | |
<Generator>ResXFileCodeGenerator</Generator> | |
<LastGenOutput>Resources.Designer.cs</LastGenOutput> | |
</EmbeddedResource> | |
</ItemGroup> | |
<ItemGroup> | |
<None Include="Resources\TaskCapableComponent_24x24.png"/> | |
</ItemGroup> | |
<ItemGroup> | |
<PackageReference Include="Grasshopper"> | |
<Version>8.5.24072.13001</Version> | |
</PackageReference> | |
</ItemGroup> | |
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.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> | |
--> | |
<PropertyGroup> | |
<PostBuildEvent>Copy "$(TargetPath)" "$(TargetDir)$(ProjectName).gha" | |
Erase "$(TargetPath)" | |
</PostBuildEvent> | |
</PropertyGroup> | |
<PropertyGroup> | |
<FallbackCulture>en-US</FallbackCulture> | |
</PropertyGroup> | |
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'"> | |
<StartProgram>C:\Program Files\Rhino 8\System\Rhino.exe</StartProgram> | |
<StartArguments> | |
</StartArguments> | |
<StartAction>Program</StartAction> | |
</PropertyGroup> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Added template component to 'New' menu: