diff --git a/Directory.Build.props b/Directory.Build.props index 1de514c842..98e6617fc0 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -16,6 +16,7 @@ full 2.6.0-beta1-62023-02 + 0.3.18 diff --git a/Razor.sln b/Razor.sln index 3346a86b71..9f65845f9c 100644 --- a/Razor.sln +++ b/Razor.sln @@ -71,6 +71,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.VisualStudio.Edit EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.VisualStudio.Editor.Razor.Test.Common", "test\Microsoft.VisualStudio.Editor.Razor.Test.Common\Microsoft.VisualStudio.Editor.Razor.Test.Common.csproj", "{FC684D4F-D23C-407C-9C68-E10EF3B38560}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.VisualStudio.Mac.RazorAddin", "tooling\Microsoft.VisualStudio.Mac.RazorAddin\Microsoft.VisualStudio.Mac.RazorAddin.csproj", "{FAF9986F-E086-4513-9D52-F7BF5FFCF31D}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.VisualStudio.Mac.LanguageServices.Razor", "src\Microsoft.VisualStudio.Mac.LanguageServices.Razor\Microsoft.VisualStudio.Mac.LanguageServices.Razor.csproj", "{95B18DEE-8B45-4CF0-B9F8-CCBAF3B5251A}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -285,6 +289,22 @@ Global {FC684D4F-D23C-407C-9C68-E10EF3B38560}.Release|Any CPU.Build.0 = Release|Any CPU {FC684D4F-D23C-407C-9C68-E10EF3B38560}.ReleaseNoVSIX|Any CPU.ActiveCfg = Release|Any CPU {FC684D4F-D23C-407C-9C68-E10EF3B38560}.ReleaseNoVSIX|Any CPU.Build.0 = Release|Any CPU + {FAF9986F-E086-4513-9D52-F7BF5FFCF31D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FAF9986F-E086-4513-9D52-F7BF5FFCF31D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FAF9986F-E086-4513-9D52-F7BF5FFCF31D}.DebugNoVSIX|Any CPU.ActiveCfg = Debug|Any CPU + {FAF9986F-E086-4513-9D52-F7BF5FFCF31D}.DebugNoVSIX|Any CPU.Build.0 = Debug|Any CPU + {FAF9986F-E086-4513-9D52-F7BF5FFCF31D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FAF9986F-E086-4513-9D52-F7BF5FFCF31D}.Release|Any CPU.Build.0 = Release|Any CPU + {FAF9986F-E086-4513-9D52-F7BF5FFCF31D}.ReleaseNoVSIX|Any CPU.ActiveCfg = Release|Any CPU + {FAF9986F-E086-4513-9D52-F7BF5FFCF31D}.ReleaseNoVSIX|Any CPU.Build.0 = Release|Any CPU + {95B18DEE-8B45-4CF0-B9F8-CCBAF3B5251A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {95B18DEE-8B45-4CF0-B9F8-CCBAF3B5251A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {95B18DEE-8B45-4CF0-B9F8-CCBAF3B5251A}.DebugNoVSIX|Any CPU.ActiveCfg = Debug|Any CPU + {95B18DEE-8B45-4CF0-B9F8-CCBAF3B5251A}.DebugNoVSIX|Any CPU.Build.0 = Debug|Any CPU + {95B18DEE-8B45-4CF0-B9F8-CCBAF3B5251A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {95B18DEE-8B45-4CF0-B9F8-CCBAF3B5251A}.Release|Any CPU.Build.0 = Release|Any CPU + {95B18DEE-8B45-4CF0-B9F8-CCBAF3B5251A}.ReleaseNoVSIX|Any CPU.ActiveCfg = Release|Any CPU + {95B18DEE-8B45-4CF0-B9F8-CCBAF3B5251A}.ReleaseNoVSIX|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -316,6 +336,8 @@ Global {0BCDE75A-A438-46C7-95E9-391F029D07C5} = {3C0D6505-79B3-49D0-B4C3-176F0F1836ED} {AA888DB9-340E-4E06-A2A4-25BFEE1AC2B7} = {92463391-81BE-462B-AC3C-78C6C760741F} {FC684D4F-D23C-407C-9C68-E10EF3B38560} = {92463391-81BE-462B-AC3C-78C6C760741F} + {FAF9986F-E086-4513-9D52-F7BF5FFCF31D} = {C0CC1E1F-1559-44DE-93A8-63259CEA2AAB} + {95B18DEE-8B45-4CF0-B9F8-CCBAF3B5251A} = {3C0D6505-79B3-49D0-B4C3-176F0F1836ED} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {0035341D-175A-4D05-95E6-F1C2785A1E26} diff --git a/build/MPack.targets b/build/MPack.targets new file mode 100644 index 0000000000..0322c137c4 --- /dev/null +++ b/build/MPack.targets @@ -0,0 +1,64 @@ + + + $(PackageDependsOn);GenerateMPack + Microsoft.VisualStudio.Mac.RazorAddin + $(RepositoryRoot)tooling\$(AddinName)\ + + + + + + + + + $(ArtifactsDir)msbuild\ + $(MSBuildArtifactsDir)sources\ + $(AddinDirectory)bin\$(Configuration)\net461\ + Microsoft.VisualStudio.Mac.LanguageServices.Razor + $(RepositoryRoot)src\$(LanguageServiceName)\bin\$(Configuration)\net46\ + $(AddinName)_$(AddinVersion) + $(MPackName).mpack + $(BuildDir)$(MPackFileName) + $(BuildDir)$(MPackName).zip + $(AddinDirectory)Properties\_Manifest.addin.xml + $(MPackSourcesDir)addin.info + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/repo.targets b/build/repo.targets index b56c922230..ac7dea78a5 100644 --- a/build/repo.targets +++ b/build/repo.targets @@ -1,5 +1,6 @@ + diff --git a/src/Microsoft.VisualStudio.Mac.LanguageServices.Razor/Microsoft.VisualStudio.Mac.LanguageServices.Razor.csproj b/src/Microsoft.VisualStudio.Mac.LanguageServices.Razor/Microsoft.VisualStudio.Mac.LanguageServices.Razor.csproj new file mode 100644 index 0000000000..e48cc1cd36 --- /dev/null +++ b/src/Microsoft.VisualStudio.Mac.LanguageServices.Razor/Microsoft.VisualStudio.Mac.LanguageServices.Razor.csproj @@ -0,0 +1,13 @@ + + + + net46 + Razor is a markup syntax for adding server-side logic to web pages. This package contains the Razor design-time infrastructure for Visual Studio for Mac. + false + + + + + + + diff --git a/tooling/Microsoft.VisualStudio.Mac.RazorAddin/AddinMetadata.props b/tooling/Microsoft.VisualStudio.Mac.RazorAddin/AddinMetadata.props new file mode 100644 index 0000000000..d31ea391eb --- /dev/null +++ b/tooling/Microsoft.VisualStudio.Mac.RazorAddin/AddinMetadata.props @@ -0,0 +1,12 @@ + + + 7.0 + $(VSForMacVersion).$(BuildNumber) + $(VSForMacVersion).999999 + RazorAddin + Microsoft.VisualStudio.Mac + Razor Language Services + Web Development + Language services for ASP.NET Core Razor + + diff --git a/tooling/Microsoft.VisualStudio.Mac.RazorAddin/Microsoft.VisualStudio.Mac.RazorAddin.csproj b/tooling/Microsoft.VisualStudio.Mac.RazorAddin/Microsoft.VisualStudio.Mac.RazorAddin.csproj new file mode 100644 index 0000000000..e5e435953a --- /dev/null +++ b/tooling/Microsoft.VisualStudio.Mac.RazorAddin/Microsoft.VisualStudio.Mac.RazorAddin.csproj @@ -0,0 +1,72 @@ + + + + + net461 + + + + + + + + + + + $(NuGetPackageRoot)monodevelop.addins\$(MonoDevelopAddinsVersion)\build\Mono.Addins.dll + + + + + + + false + true + Content + Build + + + + + + + $(IntermediateOutputPath)$(MSBuildProjectFile).AddinInfo.cs + + + + + <_Parameter1>$(AddinId) + $(AddinNamespace) + $(AddinVersion) + + + <_Parameter1>$(AddinDetailedName) + + + <_Parameter1>$(AddinCategory) + + + <_Parameter1>$(Description) + + + <_Parameter1>$(Authors) + + + + + + + + + + + + + diff --git a/tooling/Microsoft.VisualStudio.Mac.RazorAddin/Properties/_Manifest.addin.xml b/tooling/Microsoft.VisualStudio.Mac.RazorAddin/Properties/_Manifest.addin.xml new file mode 100644 index 0000000000..bc4365a69d --- /dev/null +++ b/tooling/Microsoft.VisualStudio.Mac.RazorAddin/Properties/_Manifest.addin.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + +