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 use OpenRIaServices for generating a WCF RIA Client. We're going for optimizing our server-side build artifacts and turn on <DebugType>portable</DebugType> It allows decreasing output size in about 10 times, it is more modern and useful. But suddenly we found that OpenRiaService is unable to generate the correct client (*.g.cs) in that case.
Preconditions:
On the server, we have an enumeration with our custom attributes
Server project references a library with custom attributes
Enumerations members have custom attributes on them
Custom attributes classes declared in .shared. files in DLL compiled with [<DebugType>portable</DebugType>].
Expected result: We have our custom attributes generated on a client
Actual result: On running MSBuild CreateOpenRiaClientFilesTask client-generated proxy does not contain those custom attributes.
Supporting the portable fortmat would be god to have, especially if we want to make it easier to use netstandard/netcoreapp libraries. I haven't researched if the portable symreader also support the "full"/windows pdb format. Portable pdb should might also be usable when .net 4.7.2+ is installed using some opt in mechanism according to portable pdb docs but I dont know if that would be applicable to the current code
I would gladly accept a PR with support for portable pdbs alongside the currently supported format.
This would fit very for the 5.0 release #178
Hello team!
We use OpenRIaServices for generating a WCF RIA Client. We're going for optimizing our server-side build artifacts and turn on <DebugType>portable</DebugType> It allows decreasing output size in about 10 times, it is more modern and useful. But suddenly we found that OpenRiaService is unable to generate the correct client (
*.g.cs
) in that case.Preconditions:
Expected result: We have our custom attributes generated on a client
Actual result: On running MSBuild
CreateOpenRiaClientFilesTask
client-generated proxy does not contain those custom attributes.Suggestion
Our investigation also leads us to the existing dotnet community-supported library for symbols reading is https://github.com/dotnet/symreader-portable I think it is good to consider replacing your implementations of ISymbol* interfaces with https://github.com/dotnet/symreader-portable .
I will be really glad to see this working in your library.
The text was updated successfully, but these errors were encountered: