| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 497b638 commit 3c3919d
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -183,7 +183,9 @@ | |||
| 183 | 183 | <None Include="x86\clrmodule-platform.il" /> | |
| 184 | 184 | </ItemGroup> | |
| 185 | 185 | <ItemGroup> | |
| 186 | - <EmbeddedResource Include="resources\clr.py" /> | ||
| 186 | + <EmbeddedResource Include="resources\clr.py"> | ||
| 187 | + <LogicalName>clr.py</LogicalName> | ||
| 188 | + </EmbeddedResource> | ||
| 187 | 189 | </ItemGroup> | |
| 188 | 190 | <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> | |
| 189 | 191 | <ProjectExtensions> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -159,7 +159,7 @@ public static void Initialize() { | |||
| 159 | 159 | Runtime.PyDict_SetItemString(module_globals, "__builtins__", builtins); | |
| 160 | 160 | ||
| 161 | 161 | var assembly = Assembly.GetExecutingAssembly(); | |
| 162 | - using (Stream stream = assembly.GetManifestResourceStream("Python.Runtime.resources.clr.py")) | ||
| 162 | + using (Stream stream = assembly.GetManifestResourceStream("clr.py")) | ||
| 163 | 163 | using (StreamReader reader = new StreamReader(stream)) | |
| 164 | 164 | { | |
| 165 | 165 | // add the contents of clr.py to the module | |
| Back | FazBrowse Home | New Git URL |
0 commit comments