From 969e41aad0283799567bf864a82ecfe84ff78231 Mon Sep 17 00:00:00 2001 From: allisterb Date: Sat, 14 Sep 2024 07:59:20 -0400 Subject: [PATCH] Can create new project with ProjectType1.ProjectType.csproj project file. --- src/Stratis.DevEx.sln | 42 ++++++ .../ProjectTemplate.solproj | 9 +- .../ProjectType1.ProjectType.csproj | 141 ++++++++++++++++++ .../Solidity.vstemplate | 4 +- .../Stratis.VS.SolidityProjectTemplate.csproj | 1 + 5 files changed, 189 insertions(+), 8 deletions(-) create mode 100644 src/Stratis.VS.SolidityProjectTemplate/ProjectType1.ProjectType.csproj diff --git a/src/Stratis.DevEx.sln b/src/Stratis.DevEx.sln index e2a9fe1..df72ae2 100644 --- a/src/Stratis.DevEx.sln +++ b/src/Stratis.DevEx.sln @@ -103,6 +103,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Stratis.VS.StratisEVM", "St EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Stratis.VS.SolidityProjectTemplate", "Stratis.VS.SolidityProjectTemplate\Stratis.VS.SolidityProjectTemplate.csproj", "{90BA4A89-26AA-4E2D-86EF-F5CC2420EB61}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProjectType2.ProjectType", "ProjectType2\ProjectType2.ProjectType\ProjectType2.ProjectType.csproj", "{4E614C75-9934-4C46-9970-A91254F8C9A9}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProjectType2.ProjectTemplate", "ProjectType2\ProjectType2.ProjectTemplate\ProjectType2.ProjectTemplate.csproj", "{88FF5C6F-DC88-426B-9BC5-5C4C1498431A}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -674,6 +678,42 @@ Global {90BA4A89-26AA-4E2D-86EF-F5CC2420EB61}.Sources|arm64.Build.0 = Debug|arm64 {90BA4A89-26AA-4E2D-86EF-F5CC2420EB61}.Sources|x86.ActiveCfg = Debug|x86 {90BA4A89-26AA-4E2D-86EF-F5CC2420EB61}.Sources|x86.Build.0 = Debug|x86 + {4E614C75-9934-4C46-9970-A91254F8C9A9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4E614C75-9934-4C46-9970-A91254F8C9A9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4E614C75-9934-4C46-9970-A91254F8C9A9}.Debug|arm64.ActiveCfg = Debug|arm64 + {4E614C75-9934-4C46-9970-A91254F8C9A9}.Debug|arm64.Build.0 = Debug|arm64 + {4E614C75-9934-4C46-9970-A91254F8C9A9}.Debug|x86.ActiveCfg = Debug|x86 + {4E614C75-9934-4C46-9970-A91254F8C9A9}.Debug|x86.Build.0 = Debug|x86 + {4E614C75-9934-4C46-9970-A91254F8C9A9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4E614C75-9934-4C46-9970-A91254F8C9A9}.Release|Any CPU.Build.0 = Release|Any CPU + {4E614C75-9934-4C46-9970-A91254F8C9A9}.Release|arm64.ActiveCfg = Release|arm64 + {4E614C75-9934-4C46-9970-A91254F8C9A9}.Release|arm64.Build.0 = Release|arm64 + {4E614C75-9934-4C46-9970-A91254F8C9A9}.Release|x86.ActiveCfg = Release|x86 + {4E614C75-9934-4C46-9970-A91254F8C9A9}.Release|x86.Build.0 = Release|x86 + {4E614C75-9934-4C46-9970-A91254F8C9A9}.Sources|Any CPU.ActiveCfg = Debug|Any CPU + {4E614C75-9934-4C46-9970-A91254F8C9A9}.Sources|Any CPU.Build.0 = Debug|Any CPU + {4E614C75-9934-4C46-9970-A91254F8C9A9}.Sources|arm64.ActiveCfg = Debug|arm64 + {4E614C75-9934-4C46-9970-A91254F8C9A9}.Sources|arm64.Build.0 = Debug|arm64 + {4E614C75-9934-4C46-9970-A91254F8C9A9}.Sources|x86.ActiveCfg = Debug|x86 + {4E614C75-9934-4C46-9970-A91254F8C9A9}.Sources|x86.Build.0 = Debug|x86 + {88FF5C6F-DC88-426B-9BC5-5C4C1498431A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {88FF5C6F-DC88-426B-9BC5-5C4C1498431A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {88FF5C6F-DC88-426B-9BC5-5C4C1498431A}.Debug|arm64.ActiveCfg = Debug|arm64 + {88FF5C6F-DC88-426B-9BC5-5C4C1498431A}.Debug|arm64.Build.0 = Debug|arm64 + {88FF5C6F-DC88-426B-9BC5-5C4C1498431A}.Debug|x86.ActiveCfg = Debug|x86 + {88FF5C6F-DC88-426B-9BC5-5C4C1498431A}.Debug|x86.Build.0 = Debug|x86 + {88FF5C6F-DC88-426B-9BC5-5C4C1498431A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {88FF5C6F-DC88-426B-9BC5-5C4C1498431A}.Release|Any CPU.Build.0 = Release|Any CPU + {88FF5C6F-DC88-426B-9BC5-5C4C1498431A}.Release|arm64.ActiveCfg = Release|arm64 + {88FF5C6F-DC88-426B-9BC5-5C4C1498431A}.Release|arm64.Build.0 = Release|arm64 + {88FF5C6F-DC88-426B-9BC5-5C4C1498431A}.Release|x86.ActiveCfg = Release|x86 + {88FF5C6F-DC88-426B-9BC5-5C4C1498431A}.Release|x86.Build.0 = Release|x86 + {88FF5C6F-DC88-426B-9BC5-5C4C1498431A}.Sources|Any CPU.ActiveCfg = Debug|Any CPU + {88FF5C6F-DC88-426B-9BC5-5C4C1498431A}.Sources|Any CPU.Build.0 = Debug|Any CPU + {88FF5C6F-DC88-426B-9BC5-5C4C1498431A}.Sources|arm64.ActiveCfg = Debug|arm64 + {88FF5C6F-DC88-426B-9BC5-5C4C1498431A}.Sources|arm64.Build.0 = Debug|arm64 + {88FF5C6F-DC88-426B-9BC5-5C4C1498431A}.Sources|x86.ActiveCfg = Debug|x86 + {88FF5C6F-DC88-426B-9BC5-5C4C1498431A}.Sources|x86.Build.0 = Debug|x86 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -713,6 +753,8 @@ Global {F18BA290-AFB9-4EEF-8281-30F3F32A0265} = {8DC77034-0F3C-40E6-A352-B157BCB85462} {99ED2062-8DD2-4969-972C-C9DC81EBF869} = {3244104A-4F62-488E-8DA9-B1FEB2E367E7} {90BA4A89-26AA-4E2D-86EF-F5CC2420EB61} = {3244104A-4F62-488E-8DA9-B1FEB2E367E7} + {4E614C75-9934-4C46-9970-A91254F8C9A9} = {3244104A-4F62-488E-8DA9-B1FEB2E367E7} + {88FF5C6F-DC88-426B-9BC5-5C4C1498431A} = {3244104A-4F62-488E-8DA9-B1FEB2E367E7} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {602325FF-1BC0-4A57-8252-3F0471EA4151} diff --git a/src/Stratis.VS.SolidityProjectTemplate/ProjectTemplate.solproj b/src/Stratis.VS.SolidityProjectTemplate/ProjectTemplate.solproj index 5fc26f2..b29ec46 100644 --- a/src/Stratis.VS.SolidityProjectTemplate/ProjectTemplate.solproj +++ b/src/Stratis.VS.SolidityProjectTemplate/ProjectTemplate.solproj @@ -1,10 +1,7 @@ - - - Debug - + - + - + diff --git a/src/Stratis.VS.SolidityProjectTemplate/ProjectType1.ProjectType.csproj b/src/Stratis.VS.SolidityProjectTemplate/ProjectType1.ProjectType.csproj new file mode 100644 index 0000000..69cf0b1 --- /dev/null +++ b/src/Stratis.VS.SolidityProjectTemplate/ProjectType1.ProjectType.csproj @@ -0,0 +1,141 @@ + + + + 17.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + Debug + AnyCPU + 2.0 + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {8644EE75-79C4-45E2-9DB0-81BEBCFDC682} + Library + Properties + Solidity + Solidity + v4.7.2 + true + true + true + false + false + + false + true + true + true + Key.snk + Program + $(DevEnvDir)devenv.exe + /rootSuffix Exp + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + {55a5025b-0f00-411d-b005-a5e6e3bf58cf} + ProjectType1.ProjectTemplate + false + TemplateProjectOutputGroup%3b + ProjectTemplates + + + + + + Designer + + + true + Designer + + + + + + + + + + + + + Designer + + + + + + + + + + + + + + None + + + None + + + None + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Stratis.VS.SolidityProjectTemplate/Solidity.vstemplate b/src/Stratis.VS.SolidityProjectTemplate/Solidity.vstemplate index 11f9ed0..29b622d 100644 --- a/src/Stratis.VS.SolidityProjectTemplate/Solidity.vstemplate +++ b/src/Stratis.VS.SolidityProjectTemplate/Solidity.vstemplate @@ -16,8 +16,8 @@ true - - SmartContract1.sol + + SmartContract1.sol \ No newline at end of file diff --git a/src/Stratis.VS.SolidityProjectTemplate/Stratis.VS.SolidityProjectTemplate.csproj b/src/Stratis.VS.SolidityProjectTemplate/Stratis.VS.SolidityProjectTemplate.csproj index b10c501..e553b89 100644 --- a/src/Stratis.VS.SolidityProjectTemplate/Stratis.VS.SolidityProjectTemplate.csproj +++ b/src/Stratis.VS.SolidityProjectTemplate/Stratis.VS.SolidityProjectTemplate.csproj @@ -54,6 +54,7 @@ +