uwrit / leaf

Leaf Clinical Data Explorer
https://www.youtube.com/watch?v=ZuKKC7B8mHI
Other
88 stars 47 forks source link

fix implicit conversion error #538

Closed nixj14 closed 2 years ago

nixj14 commented 2 years ago

Fix for implicit conversion error CS0173 during dotnet publish. See below:

Compiler/LeafDbDataReader.cs(76,60): error CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between '' and 'Guid' [/build/Services/Services.csproj] Compiler/LeafDbDataReader.cs(77,60): error CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between '' and 'DateTime' [/build/Services/Services.csproj] Compiler/LeafDbDataReader.cs(79,60): error CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between '' and 'bool' [/build/Services/Services.csproj] Compiler/LeafDbDataReader.cs(80,60): error CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between '' and 'int' [/build/Services/Services.csproj] Compiler/LeafDbDataReader.cs(256,60): error CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between 'Guid' and '' [/build/Services/Services.csproj] Compiler/LeafDbDataReader.cs(257,60): error CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between 'DateTime' and '' [/build/Services/Services.csproj] Compiler/LeafDbDataReader.cs(260,60): error CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between 'bool' and '' [/build/Services/Services.csproj] Compiler/LeafDbDataReader.cs(261,60): error CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between 'int' and '' [/build/Services/Services.csproj] The command '/bin/sh -c dotnet publish -c Release -o /app' returned a non-zero code: 1