Skip to content

Conversation

@jonpryor
Copy link
Contributor

@jonpryor jonpryor commented Oct 18, 2021

Commit 3e6a623
Context: https://discord.com/channels/732297728826277939/732297837953679412/898675755779768330

An unfortunate unexpected breakage occurred due to commit 3e6a623:
the version of Java.Interop.dll changed -- which we should have
expected but completely overlooked & forgot -- which in turn meant
that everything which depends upon it -- which is everything --
started breaking due to the version change, e.g.

error CS1705: Assembly 'Microsoft.Maui' with identity 'Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
uses 'Java.Interop, Version=0.1.6.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'
which has a higher version than referenced assembly
'Java.Interop' with identity 'Java.Interop, Version=0.1.2.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'

As the primary motivation with 3e6a623 was to improve the use of
MSBuild task assemblies -- which Java.Interop.dll is not --
modify the logic of 3e6a623 so that:

  1. build-tools/scripts/Version.props allows the $(Version)
    property to be overridden, and

  2. Override $(Version) within src/Java.Interop,
    src/Java.Interop.Dynamic, and src/Java.Interop.Export.

Java.Interop.Dynamic.dll and Java.Interop.Export.dll aren't
shipped (yet), but we would like them to eventually, and it's "nicer"
if they all share the same assembly version.

Commit 3e6a623
Context: https://discord.com/channels/732297728826277939/732297837953679412/898675755779768330

An unfortunate unexpected breakage occurred due to commit 3e6a623:
the version of `Java.Interop.dll` changed -- which we *should* have
expected but completely overlooked & forgot -- which in turn meant
that *everything* which depends upon it -- which is everything --
started breaking due to the version change, e.g.

	error CS1705: Assembly 'Microsoft.Maui' with identity 'Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
	uses 'Java.Interop, Version=0.1.6.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'
	which has a higher version than referenced assembly
	'Java.Interop' with identity 'Java.Interop, Version=0.1.2.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'

As the primary motivation with 3e6a623 was to improve the use of
*MSBuild* task assemblies -- which `Java.Interop.dll` is *not* --
modify the logic of 3e6a623 so that:

 1. `build-tools/scripts/Version.props` allows the `$(Version)`
    property to be *overridden*, and

 2. Override `$(Version)` within `src/Java.Interop`,
    `src/Java.Interop.Dynamic`, and `src/Java.Interop.Export`.

`Java.Interop.Dynamic.dll` and `Java.Interop.Export.dll` aren't
shipped (yet), but we would like them to eventually, and it's "nicer"
if they all share the same assembly version.
@jonpryor jonpryor force-pushed the jonp-reset-JI-version branch from a4b7c71 to d8b669d Compare October 18, 2021 19:31
@jonpryor jonpryor merged commit b288839 into dotnet:main Oct 18, 2021
jonpryor added a commit that referenced this pull request Oct 18, 2021
Commit 3e6a623
Context: https://discord.com/channels/732297728826277939/732297837953679412/898675755779768330

An unfortunate unexpected breakage occurred due to commit 3e6a623:
the version of `Java.Interop.dll` changed -- which we *should* have
expected but completely overlooked & forgot -- which in turn meant
that *everything* which depends upon it -- which is everything --
started breaking due to the version change, e.g.

	error CS1705: Assembly 'Microsoft.Maui' with identity 'Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
	uses 'Java.Interop, Version=0.1.6.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'
	which has a higher version than referenced assembly
	'Java.Interop' with identity 'Java.Interop, Version=0.1.2.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'

As the primary motivation with 3e6a623 was to improve the use of
*MSBuild* task assemblies -- which `Java.Interop.dll` is *not* --
modify the logic of 3e6a623 so that:

 1. `build-tools/scripts/Version.props` allows the `$(Version)`
    property to be *overridden*, and

 2. Override `$(Version)` within `src/Java.Interop`,
    `src/Java.Interop.Dynamic`, and `src/Java.Interop.Export`.

`Java.Interop.Dynamic.dll` and `Java.Interop.Export.dll` aren't
shipped (yet), but we would like them to eventually, and it's "nicer"
if they all share the same assembly version.
jonpryor added a commit that referenced this pull request Oct 18, 2021
Commit 3e6a623
Context: https://discord.com/channels/732297728826277939/732297837953679412/898675755779768330

An unfortunate unexpected breakage occurred due to commit 3e6a623:
the version of `Java.Interop.dll` changed -- which we *should* have
expected but completely overlooked & forgot -- which in turn meant
that *everything* which depends upon it -- which is everything --
started breaking due to the version change, e.g.

	error CS1705: Assembly 'Microsoft.Maui' with identity 'Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
	uses 'Java.Interop, Version=0.1.6.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'
	which has a higher version than referenced assembly
	'Java.Interop' with identity 'Java.Interop, Version=0.1.2.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'

As the primary motivation with 3e6a623 was to improve the use of
*MSBuild* task assemblies -- which `Java.Interop.dll` is *not* --
modify the logic of 3e6a623 so that:

 1. `build-tools/scripts/Version.props` allows the `$(Version)`
    property to be *overridden*, and

 2. Override `$(Version)` within `src/Java.Interop`,
    `src/Java.Interop.Dynamic`, and `src/Java.Interop.Export`.

`Java.Interop.Dynamic.dll` and `Java.Interop.Export.dll` aren't
shipped (yet), but we would like them to eventually, and it's "nicer"
if they all share the same assembly version.
jonpryor added a commit that referenced this pull request Oct 18, 2021
Commit 3e6a623
Context: https://discord.com/channels/732297728826277939/732297837953679412/898675755779768330

An unfortunate unexpected breakage occurred due to commit 3e6a623:
the version of `Java.Interop.dll` changed -- which we *should* have
expected but completely overlooked & forgot -- which in turn meant
that *everything* which depends upon it -- which is everything --
started breaking due to the version change, e.g.

	error CS1705: Assembly 'Microsoft.Maui' with identity 'Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
	uses 'Java.Interop, Version=0.1.6.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'
	which has a higher version than referenced assembly
	'Java.Interop' with identity 'Java.Interop, Version=0.1.2.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'

As the primary motivation with 3e6a623 was to improve the use of
*MSBuild* task assemblies -- which `Java.Interop.dll` is *not* --
modify the logic of 3e6a623 so that:

 1. `build-tools/scripts/Version.props` allows the `$(Version)`
    property to be *overridden*, and

 2. Override `$(Version)` within `src/Java.Interop`,
    `src/Java.Interop.Dynamic`, and `src/Java.Interop.Export`.

`Java.Interop.Dynamic.dll` and `Java.Interop.Export.dll` aren't
shipped (yet), but we would like them to eventually, and it's "nicer"
if they all share the same assembly version.
@github-actions github-actions bot locked and limited conversation to collaborators Apr 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants