EFDesigner2022
EFDesigner2022 copied to clipboard
Build/Rebuild with VS2022 Community - not working
I have download your Git-Repo and want to rebuild your actual version of the EFDesigner
In VS2022 (Community) the "Visual Studio Extention Development" is selected and installed. Then i have additional activate the "DSL-Tools".
After I run the "rebuild.cmd" (i have before change then path from "professional" to "community") the following errors come up:
"D:\_Test\EFDesigner2022-master\src\EFDesigner2022.sln" (Rebuild Ziel) (1) ->
"D:\_Test\EFDesigner2022-master\src\Dsl\Dsl.csproj" (Rebuild Ziel) (2) ->
(ExecuteTransformations Ziel) ->
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VisualStudio\v17.0\TextTemplating\Microsoft
.TextTemplating.targets(349,5): error : Kompilierte Transformation: Ungültiges Token "this" in Klassen-, Datensatz-, St
ruktur- oder Schnittstellenmemberdeklaration. Zeile = 1, Spalte = 1 [D:\_Test\EFDesigner2022-master\src\Dsl\Dsl.csproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VisualStudio\v17.0\TextTemplating\Microsoft
.TextTemplating.targets(349,5): error : Kompilierte Transformation: Bezeichner erwartet.. Zeile = 1, Spalte = 12 [D:\_T
est\EFDesigner2022-master\src\Dsl\Dsl.csproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VisualStudio\v17.0\TextTemplating\Microsoft
.TextTemplating.targets(349,5): error : Kompilierte Transformation: Die Methode muss einen Rückgabetyp besitzen.. Zeile
= 1, Spalte = 6 [D:\_Test\EFDesigner2022-master\src\Dsl\Dsl.csproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VisualStudio\v17.0\TextTemplating\Microsoft
.TextTemplating.targets(349,5): error : Kompilierte Transformation: "GeneratedTextTransformation.GeneratedTextTransform
ation()" ist nicht als abstrakt, extern oder partiell gekennzeichnet und muss daher einen Text deklarieren.. Zeile = 1,
Spalte = 6 [D:\_Test\EFDesigner2022-master\src\Dsl\Dsl.csproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VisualStudio\v17.0\TextTemplating\Microsoft
.TextTemplating.targets(349,5): error : Kompilierte Transformation: Ungültiges Token "this" in Klassen-, Datensatz-, St
ruktur- oder Schnittstellenmemberdeklaration. Zeile = 1, Spalte = 1 [D:\_Test\EFDesigner2022-master\src\Dsl\Dsl.csproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VisualStudio\v17.0\TextTemplating\Microsoft
.TextTemplating.targets(349,5): error : Kompilierte Transformation: Bezeichner erwartet.. Zeile = 1, Spalte = 12 [D:\_T
est\EFDesigner2022-master\src\Dsl\Dsl.csproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VisualStudio\v17.0\TextTemplating\Microsoft
.TextTemplating.targets(349,5): error : Kompilierte Transformation: Die Methode muss einen Rückgabetyp besitzen.. Zeile
= 1, Spalte = 6 [D:\_Test\EFDesigner2022-master\src\Dsl\Dsl.csproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VisualStudio\v17.0\TextTemplating\Microsoft
.TextTemplating.targets(349,5): error : Kompilierte Transformation: "GeneratedTextTransformation.GeneratedTextTransform
ation()" ist nicht als abstrakt, extern oder partiell gekennzeichnet und muss daher einen Text deklarieren.. Zeile = 1,
Spalte = 6 [D:\_Test\EFDesigner2022-master\src\Dsl\Dsl.csproj]
When I start the VS and load the solution then I have same and much more errors like
`Fehler Unable to read Include file: GeneratedCode\GeneratedVsct.vsct DslPackage D:_Test\EFDesigner2022-master\src\DslPackage\Commands.vsct 16
Fehler Undefined 'editor' attribute 'guidEditor' in a <KeyBinding> element DslPackage D:_Test\EFDesigner2022-master\src\DslPackage\Commands.vsct 444 `
Can you explain, what i missing? Or can you give a link to the actual version of EFDesigner (4.2.8 RC2)?
I try to find out, what is the problem to rebuild. Until now i find following things:
-
The "Microsoft.VisualStudio.Modeling.Sdk.DslDefinition" in the DSL-Project is missing. You find them by "Add Reference - Assemblies - Extensions"
-
Following T4-Templates have no valid output. The output of the .cs-files are only "ErrorGeneratingOutput":
- Diagram.tt
- SerializationHelper.tt
How can help to find out, what is the reasion and how can generate the needed files.
It was my mistake - I have try to compile the sources from "Download Zip" and not as a Git Clone. When I use the cloned files, then it works fine