Skip to content

Commit b3f04ec

Browse files
authored
💚Fix nanoFramework build, replace <see cref=""> with <c> in xmldoc (#1478)
Regression in #1444 nanoFramework is built differently and each quantity is its own assembly, with no reference to other quantities. This gave a build warning, that is treated as build error.
1 parent ac50a17 commit b3f04ec

28 files changed

+27
-35
lines changed

‎Common/UnitDefinitions/ApparentEnergy.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"Name": "ApparentEnergy",
33
"BaseUnit": "VoltampereHour",
44
"XmlDocSummary": "A unit for expressing the integral of apparent power over time, equal to the product of 1 volt-ampere and 1 hour, or to 3600 joules.",
5-
"XmlDocRemarks": "<see cref=\"ApparentEnergy\" /> has been renamed to <see cref=\"ElectricApparentEnergy\" />, and will be removed in a later major version.",
5+
"XmlDocRemarks": "<c>ApparentEnergy</c> has been renamed to <c>ElectricApparentEnergy</c>, and will be removed in a later major version.",
66
"ObsoleteText": "ApparentEnergy has been renamed to ElectricApparentEnergy, and will be removed in a later major version.",
77
"BaseDimensions": {
88
"L": 2,

‎Common/UnitDefinitions/ApparentPower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"Name": "ApparentPower",
33
"BaseUnit": "Voltampere",
44
"XmlDocSummary": "Power engineers measure apparent power as the magnitude of the vector sum of active and reactive power. Apparent power is the product of the root-mean-square of voltage and current.",
5-
"XmlDocRemarks": "<see cref=\"ApparentPower\" /> has been renamed to <see cref=\"ElectricApparentPower\" />, and will be removed in a later major version.",
5+
"XmlDocRemarks": "<c>ApparentPower</c> has been renamed to <c>ElectricApparentPower</c>, and will be removed in a later major version.",
66
"ObsoleteText": "ApparentPower has been renamed to ElectricApparentPower, and will be removed in a later major version.",
77
"BaseDimensions": {
88
"L": 2,

‎Common/UnitDefinitions/Capacitance.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"Name": "Capacitance",
33
"BaseUnit": "Farad",
44
"XmlDocSummary": "Capacitance is the ability of a body to store an electric charge.",
5-
"XmlDocRemarks": "<see cref=\"Capacitance\" /> has been renamed to <see cref=\"ElectricCapacitance\" />, and will be removed in a later major version.",
5+
"XmlDocRemarks": "<c>Capacitance</c> has been renamed to <c>ElectricCapacitance</c>, and will be removed in a later major version.",
66
"ObsoleteText": "Capacitance has been renamed to ElectricCapacitance, and will be removed in a later major version.",
77
"BaseDimensions": {
88
"L": -2,

‎Common/UnitDefinitions/ElectricCurrent.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"Name": "ElectricCurrent",
33
"BaseUnit": "Ampere",
44
"XmlDocSummary": "An electric current is a flow of electric charge. In electric circuits this charge is often carried by moving electrons in a wire. It can also be carried by ions in an electrolyte, or by both ions and electrons such as in a plasma.",
5-
"XmlDocRemarks": "If you want to map more parameters into the <see cref=\"ElectricCurrent\" /> class (amps RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple.",
5+
"XmlDocRemarks": "If you want to map more parameters into the <c>ElectricCurrent</c> class (amps RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple.",
66
"BaseDimensions": {
77
"I": 1
88
},

‎Common/UnitDefinitions/ElectricPotential.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"Name": "ElectricPotential",
33
"BaseUnit": "Volt",
44
"XmlDocSummary": "In classical electromagnetism, the electric potential (a scalar quantity denoted by Φ, ΦE or V and also called the electric field potential or the electrostatic potential) at a point is the amount of electric potential energy that a unitary point charge would have when located at that point.",
5-
"XmlDocRemarks": "If you want to map more parameters into the <see cref=\"ElectricPotential\" /> class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple.",
5+
"XmlDocRemarks": "If you want to map more parameters into the <c>ElectricPotential</c> class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple.",
66
"BaseDimensions": {
77
"L": 2,
88
"M": 1,

‎Common/UnitDefinitions/ElectricPotentialAc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"Name": "ElectricPotentialAc",
33
"BaseUnit": "VoltAc",
44
"XmlDocSummary": "The Electric Potential of a system known to use Alternating Current.",
5-
"XmlDocRemarks": "<see cref=\"ElectricPotentialAc\" /> has been merged into <see cref=\"ElectricPotential\" />, and will be removed in a later major version. If you want to map more parameters into the <see cref=\"ElectricPotential\" /> class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple.",
5+
"XmlDocRemarks": "<c>ElectricPotentialAc</c> has been merged into <c>ElectricPotential</c>, and will be removed in a later major version. If you want to map more parameters into the <c>ElectricPotential</c> class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple.",
66
"ObsoleteText": "ElectricPotentialAc has been merged into ElectricPotential, and will be removed in a later major version. If you want to map more parameters into the ElectricPotential class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple.",
77
"Units": [
88
{

‎Common/UnitDefinitions/ElectricPotentialDc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"Name": "ElectricPotentialDc",
33
"BaseUnit": "VoltDc",
44
"XmlDocSummary": "The Electric Potential of a system known to use Direct Current.",
5-
"XmlDocRemarks": "<see cref=\"ElectricPotentialDc\" /> has been merged into <see cref=\"ElectricPotential\" />, and will be removed in a later major version. If you want to map more parameters into the <see cref=\"ElectricPotential\" /> class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple.",
5+
"XmlDocRemarks": "<c>ElectricPotentialDc</c> has been merged into <c>ElectricPotential</c>, and will be removed in a later major version. If you want to map more parameters into the <c>ElectricPotential</c> class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple.",
66
"ObsoleteText": "ElectricPotentialDc has been merged into ElectricPotential, and will be removed in a later major version. If you want to map more parameters into the ElectricPotential class (volts RMS, phase angle, etc.), create your own wrapper type such as a record or named tuple.",
77
"Units": [
88
{

‎Common/UnitDefinitions/ReactiveEnergy.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"Name": "ReactiveEnergy",
33
"BaseUnit": "VoltampereReactiveHour",
44
"XmlDocSummary": "The Volt-ampere reactive hour (expressed as varh) is the reactive power of one Volt-ampere reactive produced in one hour.",
5-
"XmlDocRemarks": "<see cref=\"ReactiveEnergy\" /> has been renamed to <see cref=\"ElectricReactiveEnergy\" />, and will be removed in a later major version.",
5+
"XmlDocRemarks": "<c>ReactiveEnergy</c> has been renamed to <c>ElectricReactiveEnergy</c>, and will be removed in a later major version.",
66
"ObsoleteText": "ReactiveEnergy has been renamed to ElectricReactiveEnergy, and will be removed in a later major version.",
77
"BaseDimensions": {
88
"L": 2,

‎Common/UnitDefinitions/ReactivePower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"Name": "ReactivePower",
33
"BaseUnit": "VoltampereReactive",
44
"XmlDocSummary": "Volt-ampere reactive (var) is a unit by which reactive power is expressed in an AC electric power system. Reactive power exists in an AC circuit when the current and voltage are not in phase.",
5-
"XmlDocRemarks": "<see cref=\"ReactivePower\" /> has been renamed to <see cref=\"ElectricReactivePower\" />, and will be removed in a later major version.",
5+
"XmlDocRemarks": "<c>ReactivePower</c> has been renamed to <c>ElectricReactivePower</c>, and will be removed in a later major version.",
66
"ObsoleteText": "ReactivePower has been renamed to ElectricReactivePower, and will be removed in a later major version.",
77
"BaseDimensions": {
88
"L": 2,

‎UnitsNet.NanoFramework/GeneratedCode/Quantities/ApparentEnergy.g.cs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎UnitsNet.NanoFramework/GeneratedCode/Quantities/ApparentPower.g.cs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎UnitsNet.NanoFramework/GeneratedCode/Quantities/Capacitance.g.cs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricCurrent.g.cs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricPotential.g.cs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricPotentialAc.g.cs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricPotentialDc.g.cs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎UnitsNet.NanoFramework/GeneratedCode/Quantities/ReactiveEnergy.g.cs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎UnitsNet.NanoFramework/GeneratedCode/Quantities/ReactivePower.g.cs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎UnitsNet.WindowsRuntimeComponent.sln.DotSettings

-8
This file was deleted.

‎UnitsNet/GeneratedCode/Quantities/ApparentEnergy.g.cs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎UnitsNet/GeneratedCode/Quantities/ApparentPower.g.cs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎UnitsNet/GeneratedCode/Quantities/Capacitance.g.cs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎UnitsNet/GeneratedCode/Quantities/ElectricCurrent.g.cs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)