|
result = result.Replace("<DnaLibrary ", "<DnaLibrary " + $"CustomRuntimeConfiguration=\"{ProjectName}.runtimeconfig.json\" "); |
Image a csproj where the user sets a custom AssemblyName
ProjectName = MyAddIn
AssemblyName = Company.MyAddIn
the produced runtimeconfig.json will be
Company.MyAddIn.runtimeconfig.json and not just simply MyAddIn.runtimeconfig.json.
ExcelDna/Source/ExcelDna.AddIn.Tasks/CreateExcelAddIn.cs
Line 403 in 8ae443f
Image a csproj where the user sets a custom AssemblyName
ProjectName = MyAddIn
AssemblyName = Company.MyAddIn
the produced runtimeconfig.json will be
Company.MyAddIn.runtimeconfig.json and not just simply MyAddIn.runtimeconfig.json.