You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We assume that the metadata you are using is based off the beta metadata file.
89
+
90
+
1. Download the [latest Typewriter release](https://github.com/microsoftgraph/MSGraph-SDK-Code-Generator/releases).
91
+
2. Run Typewriter to generate a clean metadata file from your test metadata file. The output file will be `cleanMetadata.xml`.
92
+
93
+
`.\typewriter.exe -v Info -m <TODO-SET-PATH-TO-YOUR-METADATA> -g Transform -t https://raw.githubusercontent.com/microsoftgraph/msgraph-metadata/master/transforms/csdl/preprocess_csdl.xsl`
94
+
95
+
<!-- Excludes documentation which would make for an ugly diff. May need to add the doc step for diff purposes. -->
96
+
97
+
3. Generate .NET code files with Typewriter using the generated `cleanMetadata.xml`.
98
+
99
+
`.\typewriter.exe -v Info -m D:\cleanMetadata.xml -o outputDirectory -g Files`
100
+
101
+
4. Clone the Beta .NET SDK https://github.com/microsoftgraph/msgraph-beta-sdk-dotnet.
102
+
5. Replace the files under `src/Microsoft.Graph/Requests/Generated` and `src/Microsoft.Graph/Models/Generated` in the Beta .Net SDK with the generated files.
103
+
6. Build the Beta .Net SDK to validate that the generated files compile.
0 commit comments